package com.uzai.console.mapper;

import com.uzai.console.entity.MerReportChange;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface MerReportChangeMapper {
    int deleteById(@Param("id") Long id);

    int insert(MerReportChange record);

    int insertSelective(MerReportChange record);

    MerReportChange selectById(@Param("id") Long id);

    MerReportChange selectByMerIdAndType(@Param("merId") Long merId, @Param("type") Integer type);

    int updateByIdSelective(MerReportChange record);

    int updateById(MerReportChange record);
}